package com.ycrlkj.android.modulescore.main.viewmodel;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.ycrlkj.android.modulescore.main.entity.FreightOrder;

public class FreightOrderViewModel extends ViewModel {

    public MutableLiveData<FreightOrder> freightOrder;

    public MutableLiveData<FreightOrder> getFreightOrder(){
        if(freightOrder == null){
            freightOrder = new MutableLiveData<>();
            freightOrder.setValue(new FreightOrder());
        }
        return freightOrder;
    }

}
